﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;



namespace CommonShop.Service.MapClasses {
    public class RoleMap : ClassMap<Role> {
        public RoleMap() {
            Id(x => x.RoleID);
            Map(x => x.RoleName).Length(50).Not.Nullable();
            Map(x => x.UserPower).Length(50).Not.Nullable();
        }
    }
}
